//
//  FootCustomCell.m
//  GomeHome
//
//  Created by UNOHACHA on 16/12/9.
//  Copyright © 2016年 iMacOne. All rights reserved.
//

#import "FootCustomCell.h"
#import "Header.h"
@implementation FootCustomCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.backgroundColor = UIColorFromRGB(0x2b393f);
        
        for (NSInteger i = 0; i<5; i++) {
            
            UIButton * btn = [UIButton creatBtnWithFrame:CGRectMake((kScreenWidth/3)*(i%3), 12+(12+24)*(i/3), kScreenWidth/3, 24) btnTitle:@"领导" btnTitleColor:kWhiteColor btnTitleFont:13 btnTagPrice:0 btnSetImage:nil btnBackgroundColor:nil isCorner:NO action:^(UIButton *button) {
                
                
            }];
            
            [self.contentView addSubview:btn];
        }
        
        
        
    }
    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
